package com.njtoyo.taxi.admin.mapper.master.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.PrivateCallApplyRecord;
import com.njtoyo.taxi.admin.rest.presenter.business.operation_rule.privacy_number_report.PrivacyNumberReportPagePresenter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.util.MultiValueMap;

import java.util.Map;


@Repository
@DS(Const.PRIMARY_DS)
public interface PrivacyNumberReportMapper extends BaseMapper<PrivateCallApplyRecord> {
    IPage<PrivacyNumberReportPagePresenter> getPage(Page<PrivacyNumberReportPagePresenter> page, @Param("params") Map<String, String> params);

    IPage<PrivacyNumberReportPagePresenter> unApplyPage(Page<PrivacyNumberReportPagePresenter> page, @Param("params") Map<String, String> params);
}
